package com.example.test;

import com.example.test.model.Person;

import java.util.HashSet;
import java.util.Set;

/**
 * @author xu
 * @date 2020/8/21
 * @desciption ..
 */
public class Javatest {

    public static void main(String[] args) {


        Set<Person> set = new HashSet<>();

        Person p = new Person("12",12);

        set.add(p);


        p.setAge(13);

        set.remove(p);


    }


}
